//
//  AlertView.h
//  iOSTools
//
//  Created by BaizYi on 2018/12/28.
//  Copyright © 2018 YJY. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^AlertViewBlock)(BOOL selectType);

@interface AlertView : UIView

@property (nonatomic, copy) AlertViewBlock alertViewBlock;


+(void)showAlertWithMessage:(NSString *)message toView:(UIView *)view;



-(instancetype)initWithFrame:(CGRect)frame title:(NSString *)title message:(NSString *)message alertViewBlock:(AlertViewBlock)block;

-(void)showInView;

@end
